<?php

namespace app\shop\enums\payment;

use app\shop\enums\BaseEnum;

class TradeState extends BaseEnum
{
    /**
     * 未支付
     */
    const UNPAID = 1;

    /**
     * 已支付
     */
    const PAID = 2;

    /**
     * 退款
     */
    const REFUND = 3;

    /**
     * 已关闭
     */
    const CLOSED = 4;

    protected static array $descriptions = [
        self::UNPAID => '未支付',
        self::PAID   => '已支付',
        self::REFUND => '已退款',
        self::CLOSED => '已关闭'
    ];
}